

package cn.shengchao.examstar.pay.model.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 购物车实体
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class ShopCartEntity {

    /**
     * 用户ID
     */
    private String userId;

    /**
     * 微信openId
     */
    private String openId;

    private String appid;

    /**
     * 子商品ID
     */
    private List<Long> subProductIds;

    /**
     * 商品ID
     */
    private String productId;

    /**
     * 分享码
     */
    private String shareCode;

    private String ip;

    private String type;

}
